package cn.coisini.api.search;

import cn.coisini.model.common.dtos.Result;
import cn.coisini.model.dto.UserSearchDto;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xiangshaw
 * Description: 文章搜索接口API
 */
@Tag(name = "文章搜索接口API", description = "")
@RequestMapping("/api/v1/view/search/result")
public interface ArticleSearchControllerApi {
    @Operation(summary = "文章搜索")
    @PostMapping("/load")
    Result<Object> getUserSearchArticle(@RequestBody UserSearchDto userSearchDto);
}
